<style>
.fui-cellone .fui-cellone-info .avatar, .fui-goods-item .fui-buys-info .avatar{
	width:1.6rem;
	height:1.6rem;
	border:1px solid #efefef;
	border-radius: 50%;
}
.fui-goods-item .detail .price .member {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
	padding:0.1rem 0;
    color: #999;
	font-size:0.65rem;
	font-weight:400;
}
.fui-cellone .fui-cellone-remark .avatar, .fui-cellone .fui-cellone-remark .logo{
	width:0.9rem;
	height:0.9rem;
	border-radius: 50%;
}
</style>
	<div ng-if="pagedata.list" class="page-goods-detail fui-goods-group block" style="padding:0">
			<div ng-repeat="item in pagedata.list" class="fui-goods-item content-group" style="background:#fff;width:100%;padding: 0.5rem;">
				<div class="fui-cellone" style="padding:0.3rem 0">
					<div class="fui-cellone-label" style="width:auto;">
						<img style="border-radius:0.3rem;width:2rem;height:2rem" ng-src="{{tomedia(item.member.logo) || '../core/resource/images/gw-user.png'}}" />
					</div>
					<div class="fui-cellone-text" style="font-size:0.7rem;padding-left:0.5rem">
						<div class="bold">{{item.member.merchname||'*** ***'}}</div>
						<div class="subtitle" style="font-size:0.6rem">
						<span>浏览 {{item.looks}}</span> | <span>分享 {{item.likes}}</span> 
						</div>
					</div>
				</div>
				<div ng-click="access_json('/item//id='+item.id);" class="fui-cellone" style="padding:0.3rem 0">
					<div class="fui-cellone-text" style="font-size:0.75rem;">
						<div class="bold">
							<i class="fui-tag fui-tag-red">{{item.typename||'活动'}}</i>
							{{item.title}}
						</div>
						<div ng-if="pagedata.item.isdiygoods==1" class="subtitle" style="font-size:0.6rem;color:red">
						<span>￥</span> <span class="bold" style="font-size:1.3rem">{{item.price}}</span> 
						</div>
					</div>
				</div>
				<div ng-click="access_json('/item//id='+item.id);" class="image echelon" data-text="活动" style="position: relative;height:7rem;padding-bottom:0;background: url({{tomedia(item.logo) ||'../core/resource/images/nopic.jpg'}}) no-repeat 50%;background-size: cover;">
				</div>
				<div class="fui-cellone" style="padding:0.5rem 0 0 0">
					<div class="fui-cellone-label" style="width:4rem;">
						<span ng-if="item.status==2">已结束</span>
						<span ng-if="item.status==1" class="red">进行中</span>
					</div>
					<div class="fui-cellone-info">			
					</div>
					<div ng-if="item.members.length>0" class="fui-cellone-remark">
							<img ng-repeat="m in item.members" class="avatar" style="margin-right:-0.5rem" ng-src="{{tomedia(m.member.avatar) || '../core/resource/images/nopic.jpg'}}">
							<img ng-if="item.members.length>5" class="avatar" style="margin-right:-0.5rem" src="../addons/jy_weishop/resource/images/avatar-more.jpg">
							<span class="text" style="margin-left:0.5rem;color: #999;">等{{item.isdiygoods==1?'订单':'参与'}}{{item.jielinum}}</span>
					</div>
				</div>
			</div>
	</div>
	<div class="content-empty" ng-if="!pagedata.list || pagedata.list.length<1" style="margin-top:2rem">
		  <i class="icon jinyunicon icon-cry" style="width: 6rem;margin-bottom: 0.5rem;"></i><br/><p style="color: #999;font-size: .75rem">暂无相关活动！</p>
	</div>
<script>
scope.tool.get_list('jy_quanhuo/index/getlist/',true);
scope.pagedata.scroll_bottom=function(){
	if(scope.pagedata.showlike==1){
		scope.tool.get_list('jy_quanhuo/myshoucang/getlist/');
	}else{
		scope.tool.get_list('jy_quanhuo/index/getlist/');
	}
}
</script>
